package didi.hcp.provider.service;

import didi.hcp.provider.annotation.NeedUser;
import org.apache.dubbo.rpc.RpcContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AnotherServiceImpl implements INeedUser {

    @Autowired
    AnotherServiceImpl2 anotherServiceImpl2;

    @NeedUser(selfRemove = true)
    public void test2(){
        System.out.println("Test2 | "+get());
        anotherServiceImpl2.test3();
    }
}
